home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 6
/
Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso
/
029a
/
arch_log.zip
/
ARCH-LOG.DOC
next >
Wrap
Text File
|
1991-08-14
|
4KB
|
119 lines
-=[ ARCH-LOG, the LOG-Archiver ]=-
Disclaimer:
I assume no responsibility for your use of ARCH-LOG.exe. I only
guarantee that it will take space on your harddrive.
History:
I had 8 different log files scattered all over my drives growing
daily. Therfor I always archive my logfiles. Until now that took
place just before midnight. My BBS was zo configured that users
had no access then and the system-time of a user, who was then at
my BBS, was reduced. I hate that and I think it is not a quite
friendly behaviour... That's the reason why I wrote ARCH-LOG.
So I started a simple, dirty utility to call ARJ, LHARC or PKZIP and
archive the log to a file named after the original log file.
Then a suggestion got to me, why not make so that you can archive
multiple logs across multiple drives and directories unto a single
file?. I also made it archive-configurable. I took the three most
popular (at this moment) archivers:
- ARJ.EXE (output: .ARJ) (I momentarily use v2.20)
- LHA.EXE (output: .LZH) (I momentarily use v2.11)
- PKZIP.EXE (output: .ZIP) (I momentarily use v1.10)
The time at which you start the program is not important !
At the commandline you can configure it too.
This version has been tested at my system. I have found no bugs
so far, unfortunately it's not a guarantee. If you still have
any bug reports please send them to Gerrit Mak at @fido 2:285/20.
When you don't enter any parameters at the commandline a simple
usage has been shown.
Usage:
ARCH-LOG <path\archive-name> <path\logfile> <days> <method>
! These four parameters are all recommended !
path\archive-name : the full path and the name (without extension)
of the archived logfile.
path\logfile : the full path and the name of the (log-)file you
want to archive.
days : amount of days (see below)
method : method of archive (ARJ, LZH or ZIP)
- 1 -
Usage:
I daily store at 00.05 (or later when a user is in my BBS) my
BBS-System-Logfile (RA.Log) in the file LOGFILES.ARJ
After that the same happens for all other Logfiles.
The commandlines which I use are:
ARCH-LOG c:\db\logfiles\Logfiles c:\ra\ra.log 1 ARJ
ARCH-LOG c:\db\logfiles\Logfiles c:\db\dbridge.log 1 ARJ
My logfiles are stored as follows:
RAmmdd.Log and DBRImmdd.log
Where 'mmdd' are the systemmonth and systemdate (minus the amount
of days entered at the commandline). BTW, you may configure a
zero for the days, when you still want to archive just before
midnight.
Since I think this program will be used by Sysop you must have
loaded your ANSI-driver for full color support.
Oh yeah, do not change the name of the file or try to patch it
otherwise I think it will not work properly.
So, I'll hope this document is clear enough for you: I'm not a
very good doc-writer and English is not my native language.
Oh, almost forgotten: this program is FREEWARE you may use and dis-
tribute it whenever you want. The only thing what you may not is to
change the packet and/or the files. I only ask you to send a couple
of coins, when you really like it (f.i. $ 3.00), to Gerrit Mak,
Postgiro 1023123 in the Netherlands.
* ARJ.exe (v2.20) is copyrighted (c) 1990-1991 by Robert K Jung
* LHA.exe (v2.11) is copyrighted (c) 1988-1991 by Haruyasu Yoshizaki
* PKZIP.exe (v1.10) is copyrighted (c) 1988-1991 by PKWARE Inc.
- 2 -